package com.ldatum.crm.dao;

import java.sql.SQLException;
import java.util.List;

import com.ldatum.crm.domain.Cart;
import com.ldatum.crm.domain.Medicine;

public interface MedicineDao {

	int save(Medicine medicine) throws SQLException;

	List<Medicine> list() throws SQLException;

	Medicine queryById(int me_id) throws SQLException;

	int deletes(String ids) throws SQLException;

	List<Cart> findAmountAndPriceByIds(String ids,String level) throws SQLException, Exception;

	int update(Medicine medicine) throws SQLException;

	int findTodayMedicines() throws SQLException;

	List<Medicine> listByInventory() throws SQLException;

}
